package com.baizhi.service;

import com.baizhi.entity.Admin;
import com.baizhi.entity.Feedback;
import com.baizhi.entity.User;
import com.baizhi.vo.CommonVO;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.HashMap;

public interface AdminServcice {

    HashMap<String,Object> login(Admin admin, String enCode);

    HashMap<String,Object> queryAllPage(Integer page,Integer pageSize);

    HashMap<String,Object> delete(@RequestBody Admin admin);

    HashMap<String ,Object> update(Admin admin);

    CommonVO add(Admin admin);

    Admin queryById(String id);
 }
